﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TodoApp.Enum;
using TodoApp.TodoCategorysDTO;

namespace TodoApp
{
    /// <summary>
    ///  商品分类表 服务接口 
    /// </summary>
     
   public interface ITodoCategorysService : Volo.Abp.Application.Services.IApplicationService
    {
        /// <summary>
        ///  显示 
        /// </summary>
        /// <returns></returns>
       
        Task<List<CategorysShowDTO>> GetCategorys();

        /// <summary>
        ///  删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
       
        Task DeleteAsync( Guid id );

        /// <summary>
        ///  添加  返回值  全举
        /// </summary>
        /// <param name="Model"></param>
        /// <returns></returns>
    
        Task<ShopStatus> CreateAsync( CategorysAddDTO Model );

        /// <summary>
        ///  详情 反填 
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>

        Task<CategorysShowDTO> FindAsync( Guid id );

        /// <summary>
        ///  修改 数据 
        /// </summary>
        /// <param name="Model"></param>
        /// <returns></returns>
       
        Task<ShopStatus> UpdateAsync( CategorysAddDTO Model );

    }
}
